package com.newway.wechat.entity.chat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ChatHistory implements Serializable {

    private String id;

    private String title;

    private String time;

    private List<ChatMessage> messages = new ArrayList<>();
}
